package com.autonavi.adphoto.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.autonavi.adphoto.dao.PhotoDao;
import com.autonavi.adphoto.entity.Photo;

@Service
public class PhotoService {
	@Autowired
	private PhotoDao photoDao;

	@Transactional
	public List<Photo> save(List<Photo> photoList) {
		return photoDao.save(photoList);
	}
}
